package co.saen.nextincloud.beans;

import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 *
 * @author Felipe Rolvar
 */
@ManagedBean
@SessionScoped
public class NavigationBean implements Serializable {

    private String xhtml;

    public String getXhtml() {
        return xhtml;
    }

    public NavigationBean() {
    }

    public void takeTurn() {
        xhtml = "/WEB-INF/pages/turns.xhtml";
    }

    public void mngmUsers() {
        xhtml = "/WEB-INF/pages/users.xhtml";
    }

    public void mngmProf() {
        xhtml = "/WEB-INF/pages/profiles.xhtml";
    }

    public void blank() {
        xhtml = "/WEB-INF/pages/blank.xhtml";
    }
}
